<!-- O组 1912080222-->
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>修改密码</title>
		<link rel="stylesheet" href="__CSSB__/apa.css">
	</head>
	<script type="text/javascript" src="__JSB__/jquery-3.6.0.min.js"></script>
	<script type="text/javascript" src="__JSB__/jquery.validate.min.js"></script>
	<script type="text/javascript">
	$(document).ready(function(){
		$("#mesdeal_c1").validate({
				rules:{
					//  O组 1912080222
					olduPa:{
						required:true,
						maxlength:12,
						minlength:6
					},	
					newuPa:{
						required:true,
						maxlength:12,
						minlength:6
					},	
					renewuPa:{
						required:true,
						maxlength:12,
						minlength:6,
						equalTo:"#newuPa"
					}
				},
				messages:{
					olduPa:{
						required:"<span class='warning'><img src='__IMGB__/warning.png'>请输入旧密码！</span>",
						//  O组 1912080222
						maxlength:"<span class='warning'><img src='__IMGB__/warning.png'>密码太长不符合要求</span>",
						minlength:"<span class='warning'><img src='__IMGB__/warning.png'>密码太短不符合要求</span>"
					},
					newuPa:{
						required:"<span class='password'><img src='__IMGB__/warning.png'>请输入新密码！</span>",
						//  O组 1912080222
						maxlength:"<span class='password'><img src='__IMGB__/warning.png'>密码太长不符合要求</span>",
						minlength:"<span class='password'><img src='__IMGB__/warning.png'>密码太短不符合要求</span>"
					},
					renewuPa:{
						required:"<span class='repassword'><img src='__IMGB__/warning.png'>请再次输入新密码！</span>",
						maxlength:"<span class='repassword'><img src='__IMGB__/warning.png'>密码太长不符合要求</span>",
						minlength:"<span class='repassword'><img src='__IMGB__/warning.png'>密码太短不符合要求</span>",
						equalTo:"<span class='repassword'><img src='__IMGB__/warning.png'>两次输入的密码不一致</span>"
					}
				}
			})
		})
	</script>

	<body style="display: block;margin: 0;">
		<!--  O组 1912080222 -->
		<div class="top">
			<div class="top1">
			</div>
		<div>
			<li>
				{if (session('uNickB'))!=''}
					<div class="top1">
						<img  class="top2" src="__IMGB__/mv.jpg">
						<div>O论坛后台管理</div>
					</div>
				{/if}
			</li>
			<li><a href="{:url('deal/mesdeal',['sid' => 0])}">帖子管理</a></li>
			<li><a href="{:url('deal/userdeal')}">用户管理</a></li>
            <li><a href="{:url('deal/secdeal')}">板块管理</a></li>
            <li><a href="{:url('bindeal/binSecDeal')}">回收站管理</a></li>
            <li><a href="{:url('advdeal/advdeal')}">广告管理</a></li>
            <li><a href="{:url('advdeal/boxdeal')}">轮播图管理</a></li>
            <li><a href="{:url('admin/apa')}">修改密码</a></li>
            <li><a href="{:url('admin/alogout')}">注销</a></li>
            <li><a href="{:url('O_forum/O/forum')}">论坛前台</a></li>
			<li style="color: #FFFFFF80;">欢迎您： {:session('uNickB')}</li>
		</div>
		</div>
	    <!--   O组 1912080222 -->
		<div class="mesdeal_center">
			<form id="mesdeal_c1" action="{:url('admin/adopa')}" method="post">
				<div class="mesdeal_cen_top">
					<div class="mesdeal_h1">
						 修改密码
					</div>
				</div>
					  
				<div class="mesdeal_cen_center">
					<table>
						<tr>
							<td><input type="text" name="uNick" disabled="disabled" value="管理员登录名：{:session('uNickB')}" /></td>
						</tr>
						<tr>
							<td><input type="password" name="olduPa" placeholder="请输入旧密码"/></td>
						</tr>
						<tr>
							<td><input type="password" name="newuPa" id="newuPa" placeholder="请输入新密码：6-12个字符"/></td>
						</tr>
						<tr>
							<td><input type="password" name="renewuPa" placeholder="请再次输入新密码：6-12个字符"/></td>
						</tr>
						<tr>
							<td>
								<button type="submit" id="mesdeal_submit">修改密码</button>
							</td>
						</tr>
						
					</table>
				</div>
			</form>
			   <!--   O组 1912080222 -->
			<img id="bj" src="__IMGB__/bj.jpeg" alt="">
		</div>
		
	</body>
</html>
